// vite.config.ts
import { defineConfig } from "file:///C:/Users/afmmve/Desktop/hr/hr_new_vue3/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/afmmve/Desktop/hr/hr_new_vue3/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { resolve } from "path";
import vueJsx from "file:///C:/Users/afmmve/Desktop/hr/hr_new_vue3/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import { vitePluginForArco } from "file:///C:/Users/afmmve/Desktop/hr/hr_new_vue3/node_modules/@arco-plugins/vite-vue/lib/index.js";
import Components from "file:///C:/Users/afmmve/Desktop/hr/hr_new_vue3/node_modules/unplugin-vue-components/dist/vite.mjs";
import { ArcoResolver } from "file:///C:/Users/afmmve/Desktop/hr/hr_new_vue3/node_modules/unplugin-vue-components/dist/resolvers.mjs";
import AutoImport from "file:///C:/Users/afmmve/Desktop/hr/hr_new_vue3/node_modules/unplugin-auto-import/dist/vite.js";
var __vite_injected_original_dirname = "C:\\Users\\afmmve\\Desktop\\hr\\hr_new_vue3";
var vite_config_default = defineConfig({
  server: {
    proxy: {
      "/v3": {
        target: "https://restapi.amap.com",
        changeOrigin: true,
        secure: false,
        rewrite: (path) => path.replace(/^\/v3/, "/v3")
      }
    }
  },
  resolve: {
    alias: {
      "@": resolve(__vite_injected_original_dirname, "./src"),
      vue: "vue/dist/vue.esm-bundler.js"
    }
  },
  plugins: [
    vue(),
    vueJsx(),
    vitePluginForArco({
      // theme: '@arco-themes/vue-digitforce'
      theme: "@arco-themes/vue-linke"
    }),
    AutoImport({
      // targets to transform
      include: [
        /\.[tj]sx?$/,
        // .ts, .tsx, .js, .jsx
        /\.vue$/,
        /\.vue\?vue/,
        // .vue
        /\.md$/
        // .md
      ],
      dts: "src/auto-imports.d.ts",
      // 导入的位置
      // 这里除了引入 vue 以外还可以引入pinia、vue-router、vueuse等，
      // 甚至你还可以使用自定义的配置规则，见 https://github.com/antfu/unplugin-auto-import#configuration
      imports: ["vue", "vue-router", "pinia"],
      // eslint报错解决
      eslintrc: {
        enabled: true,
        // Default `false`
        filepath: "./.eslintrc-auto-import.json",
        // Default `./.eslintrc-auto-import.json`
        globalsPropValue: true
        // Default `true`, (true | false | 'readonly' | 'readable' | 'writable' | 'writeable')
      },
      // 第三方组件库的解析器
      resolvers: [ArcoResolver()]
    }),
    Components({
      resolvers: [ArcoResolver()],
      // 指定组件位置，默认是src/components
      dirs: ["src/components"],
      // ui库解析器
      // resolvers: [ElementPlusResolver()],
      extensions: ["vue"],
      // 配置文件生成位置
      dts: "src/components.d.ts"
    })
  ],
  build: {
    sourcemap: true
  },
  css: {
    devSourcemap: true,
    preprocessorOptions: {
      modules: {
        generateScopedName: "[name]_[local]_[hash:5]"
      },
      less: {
        modifyVars: {
          hack: `true; @import (reference) "${resolve(
            "src/assets/style/breakpoint.less"
          )}";`
        },
        javascriptEnabled: true
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxhZm1tdmVcXFxcRGVza3RvcFxcXFxoclxcXFxocl9uZXdfdnVlM1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiQzpcXFxcVXNlcnNcXFxcYWZtbXZlXFxcXERlc2t0b3BcXFxcaHJcXFxcaHJfbmV3X3Z1ZTNcXFxcdml0ZS5jb25maWcudHNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0M6L1VzZXJzL2FmbW12ZS9EZXNrdG9wL2hyL2hyX25ld192dWUzL3ZpdGUuY29uZmlnLnRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZ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